NativeCameraOutput
A CameraOutput backed by an AVCaptureOutput (photo, video, frames...), that is added to the AVCaptureSession and manually connected to its input in CameraSession.configure.
This is an extension point for plugin modules: a module (e.g. barcode) adds its own output to a CameraSession by implementing NativeCameraOutput, and the session connects its output like the built-in outputs'.
Properties
The resolution this output is currently streaming at, or null if it is not connected yet.
The orientation of the content produced by this output.
Whether this output requires a depth format to be enabled via AVCaptureDevice.activeDepthDataFormat.
The stream type the targetResolution specifies.
The target resolution of this output, negotiated with other outputs and ResolutionBiasConstraints.
Functions
Same as dispose, to use a CameraOutput with use { }.
Called whenever the OutputConfiguration might change, in a beginConfiguration()/commitConfiguration() batch. The output is expected to apply all configs such as orientation or mirroring settings in here.